#include "IntLinkedList.h"

int main()
{
	cout<<"Creating the Linked List..."<<endl<<endl;

	IntLinkedList list; //Create the linked list

	cout<<"Inserting Ints to the List now..."<<endl<<endl;

	list.insert(0);
	list.insert(1);
	list.insert(2);
	list.insert(3);
	list.insert(4);
	list.insert(5);

	cout<<"Printing the list now..."<<endl<<endl;

	list.displayList();

	cout<<"Deleting the most recent int added..."<<endl<<endl;

	list.deleteMostRecent();

	cout<<"Printing the list now..."<<endl<<endl;

	list.displayList();

	cout<<"Deleting the int at position 3..."<<endl<<endl;

	list.deleteInt(3);

	cout<<"Printing the list now..."<<endl<<endl;

	list.displayList();


	system("pause");

	return 0;
}